from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, Integer, BigInteger, String

Base = declarative_base()


class User(Base):
    __tablename__ = "users"

    userid = Column(BigInteger(20), primary_key=True, default=None)
    alias = Column(String(100))
    name = Column(String(100))
    surname = Column(String(100))
    passwd = Column(String(32))